using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries
{
    public interface ISupplierQueries
    {
        Task<Result<SupplierInfoResponseDto>?> GetSupplier(int id);
        
        Task<Result<IList<SupplierInfoResponseDto>>?> QuerySuppliers(SupplierSearchRequestDto model);

        Task<PaginatedResult<SupplierInfoResponseDto>> QuerySuppliersByPage(SupplierSearchRequestDto model);
    }
}